package com.jy.api.dao;

import com.jy.api.domain.Withdraw;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.repository.CrudRepository;

import java.util.List;

/**
 * Created by xiaohua on 2018/11/22.
 */
public interface WithdrawDao extends CrudRepository<Withdraw,Integer> {

    Page<Withdraw> findByStoreIdOrderByAddTimeDesc(String storeId, Pageable pageable);


    Page<Withdraw> findAll(Pageable pageable);











}
